﻿<%@ Page Language="C#" %>

<script runat="server">
    protected void Page_Load(object sender, EventArgs e)
    {
        Response.Clear();
        Response.ContentType = "image/jpeg";
        string text;
        CaptchaImage.GenericImage(out text, 160, 80).Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Jpeg);
 
        Session["CaptchaImage"] = text;
    }
</script>

